<template>
<div class="">
    <div class="pr10">
        <div class="analyItem">
            <p class="analyItemTit tx-center">状态</p>
            <div class="analyItemCon">

            </div>
        </div>
    </div>
    <div class="thinScroll pr10" v-scrollHeight="10">
        <router-link tag="div" :to="{path:routerPath('editThree'), query: {id: 0} }" class="analyItem anItemBor" active-class="anItemBor-active">
            <p class="analyItemTit tx-center">基础</p>
            <div class="analyItemCon">

            </div>
        </router-link>
    </div>
</div>
</template>
<script>
import { mapGetters } from 'vuex'
import {} from '../Resources/Api'
export default {
    data () {
        return {
        }
    },
    created () {
    },
    methods: {
        // 路由跳转路径拼接
        routerPath (path) {
            return this.$route.matched[1].path + '/' + path
        },
        // 直接进行路由跳转路径
        routerPush (path) {
            this.$router.push(this.$route.matched[1].path + '/' + path)
        }
    },
    filters: {
        AfterMarketState (parone, partwo) {
            let value = ''
            switch (parone) {
            case 2:
                value = '准备'
                break
            case 3:
                switch (partwo) {
                case 1:
                    value = '施前'
                    break
                case 2:
                    value = '施中'
                    break
                case 3:
                    value = '施尾'
                    break
                default:
                    value = '在施'
                    break
                }
                break
            case 4:
                value = '竣工'
                break
            }
            return value
        }
    },
    computed: {
        ...mapGetters(['leftInfo'])
    },
    watch: {
        leftInfo () {
        }
    }
}
</script>
